package com.chen.service;

import com.chen.pojo.Blog;

import java.util.List;

public interface BlogService {

    Blog getBlog(Long id);

    List<Blog> listBlog();

    Blog getAndConvert(Long id);

    int saveBlog(Blog blog);

    int updateBlog(Long id, Blog blog);

    int deleteBlog(Long id);

}
